package adv329;

import java.util.Calendar;

/**
 * @author oldliu
 * @since 1.0
 */
public class CalTest3 {
    public static void main(String[] args) {
        Calendar c=Calendar.getInstance();//创建对象
        c.clear();//清除
        System.out.println(c.getTime());
        System.out.println(">>>>>>>>>>>>>>>>>");
        c.set(Calendar.MONTH,16);
        System.out.println(c.getTime());
        System.out.println(c.getTimeInMillis());
        c.setTimeInMillis(0);//!!!!!
        System.out.println(c.getTime());
    }
}
